package day02_Operator;
import java.util.Scanner;
public class Test可选1第三天作业 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入成绩");
        int a=sc.nextInt();
        if (a>90){
            System.out.println("爸爸给买电脑");
        }else if (a>80){
            System.out.println("爸爸给买手机");
        }else if (a>60){
            System.out.println("爸爸请吃一顿大餐");
        }else{
            System.out.println("爸爸给买学习资料");
        }
    }
}
